// Vuex
import Vue from 'vue'
import Vuex from 'vuex'
// 引入组件模块
import home from '@/store/modules/home'
import search from '@/store/modules/search'
import detail from '@/store/modules/detail'
import user from '@/store/modules/user'
Vue.use(Vuex)
export default new Vuex.Store({
  modules: {
    home,
    search,
    detail,
    user
  }
})
